<template>
	<view class="details">
		<video :src="videoSrc" controls class="myVideo"></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				videoSrc:`${getApp().globalData.baseUrl}/wxStatic/teaching.mp4`
			};
		}
	}
</script>

<style lang="scss" scoped>
	.details{
		margin-top: 30rpx auto;display: flex;justify-content: center;align-items: center;
		.myVideo{
			margin-top: 30rpx;
		}
	}
</style>
